/**
 * This file is part of the educational usermanagement system.
 * 
 * Copyright (c) 2008, Florian Arndt, Thomas Kemptner, Christian Kerl, Patrick Neuberger, Marcel Rehfeld, Emal Sadran, Stefan Sauer
 * 
 * Released under the MIT License http://www.opensource.org/licenses/mit-license.php
 */

package edu.ba.management.data.search.comparer;

/**
 * The IEqualityComparer represents an interface to compare a value to a
 * reference value.
 */
public interface IEqualityComparer
{
    /**
     * Compares a given value to a given reference value.
     * 
     * @param value the value
     * @param reference_value the reference value
     * @return true, if the value matches the reference value, false otherwise
     */
    public boolean compare(Object value, Object reference_value);
}
